package com.wits.platform.service;

import java.util.List;

import javax.annotation.Resource;

import org.springframework.stereotype.Component;

import com.wits.platform.dao.EmployeeDao;
import com.wits.platform.entity.Employee;

@Component
public class EmployeeService extends BaseService<Employee,String>{

	
	private EmployeeDao employeeDao;

	@Resource
	public void setEmployeeDao(EmployeeDao employeeDao) {
		this.baseDao=employeeDao;
		this.employeeDao = employeeDao;
	}

	public void deleteInBatch(List<String> idList) {
		 employeeDao.executeUpdate("delete from Employee where empId in(?1)", idList);
	}
	
	
}
